/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.students.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.students.api.Impl.StudentsListImpl;
import za.ac.cput.students.api.StudentList;

/**
 *
 * @author Administrator
 */
@Configurable
public class AppListConfig {
    
   @Bean(name="list")
    public StudentList list(){
        return new StudentsListImpl();
    }
    
}
